package itheima.Duotai;

public class AnimalOperator {

    /*
    public void useAnimal(Cat c){
        c.eat();
    }

    public void useAnimal(Dog d){
        d.eat();
    }
    */
    public void useAnimal(Animal a){
        a.eat();
    }
}
